<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>chimera.util.coord.CoordUtil</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="chimera-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://chimera.ufsc.br/">Chimera - Observatoty Automation System</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="chimera-module.html">Package&nbsp;chimera</a> ::
        <a href="chimera.util-module.html">Package&nbsp;util</a> ::
        <a href="chimera.util.coord-module.html">Module&nbsp;coord</a> ::
        Class&nbsp;CoordUtil
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="chimera.util.coord.CoordUtil-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class CoordUtil</h1><span class="codelink"><a href="chimera.util.coord-pysrc.html#CoordUtil">source&nbsp;code</a></span><br /><br />
<center>
</center>
<hr />
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__delattr__</code>,
      <code>__getattribute__</code>,
      <code>__hash__</code>,
      <code>__init__</code>,
      <code>__new__</code>,
      <code>__reduce__</code>,
      <code>__reduce_ex__</code>,
      <code>__repr__</code>,
      <code>__setattr__</code>,
      <code>__str__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== STATIC METHODS ==================== -->
<a name="section-StaticMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Static Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-StaticMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="epsEqual"></a><span class="summary-sig-name">epsEqual</span>(<span class="summary-sig-arg">a</span>,
        <span class="summary-sig-arg">b</span>,
        <span class="summary-sig-arg">eps</span>=<span class="summary-sig-default">1e-7</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="chimera.util.coord-pysrc.html#CoordUtil.epsEqual">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="d2hms"></a><span class="summary-sig-name">d2hms</span>(<span class="summary-sig-arg">d</span>,
        <span class="summary-sig-arg">sec_prec</span>=<span class="summary-sig-default">None</span>)</span><br />
      See CoordUtil.d2dms.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="chimera.util.coord-pysrc.html#CoordUtil.d2hms">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="chimera.util.coord.CoordUtil-class.html#d2dms" class="summary-sig-name">d2dms</a>(<span class="summary-sig-arg">d</span>,
        <span class="summary-sig-arg">sec_prec</span>=<span class="summary-sig-default">None</span>)</span><br />
      This function returns a tuple which can be used to reconstruct
the decimal value of Coord as follow:

 d = sign * (dd + mm/60.0 + ss/3600.0)

sec_prec parameters defines how much decimal places we want on
seconds values.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="chimera.util.coord-pysrc.html#CoordUtil.d2dms">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="dms2d"></a><span class="summary-sig-name">dms2d</span>(<span class="summary-sig-arg">dms</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="chimera.util.coord-pysrc.html#CoordUtil.dms2d">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="hms2d"></a><span class="summary-sig-name">hms2d</span>(<span class="summary-sig-arg">hms</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="chimera.util.coord-pysrc.html#CoordUtil.hms2d">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="hms2str"></a><span class="summary-sig-name">hms2str</span>(<span class="summary-sig-arg">c</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="chimera.util.coord-pysrc.html#CoordUtil.hms2str">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="dms2str"></a><span class="summary-sig-name">dms2str</span>(<span class="summary-sig-arg">c</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="chimera.util.coord-pysrc.html#CoordUtil.dms2str">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="chimera.util.coord.CoordUtil-class.html#strfcoord" class="summary-sig-name">strfcoord</a>(<span class="summary-sig-arg">c</span>,
        <span class="summary-sig-arg">format</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">signed</span>=<span class="summary-sig-default">True</span>)</span><br />
      strfcoord acts like sprintf family, allowing arbitrary coordinate 
      conversion to str following the given template format.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="chimera.util.coord-pysrc.html#CoordUtil.strfcoord">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="coordToR"></a><span class="summary-sig-name">coordToR</span>(<span class="summary-sig-arg">coord</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="chimera.util.coord-pysrc.html#CoordUtil.coordToR">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="makeValid0to360"></a><span class="summary-sig-name">makeValid0to360</span>(<span class="summary-sig-arg">coord</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="chimera.util.coord-pysrc.html#CoordUtil.makeValid0to360">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="makeValid180to180"></a><span class="summary-sig-name">makeValid180to180</span>(<span class="summary-sig-arg">coord</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="chimera.util.coord-pysrc.html#CoordUtil.makeValid180to180">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="raToHa"></a><span class="summary-sig-name">raToHa</span>(<span class="summary-sig-arg">ra</span>,
        <span class="summary-sig-arg">lst</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="chimera.util.coord-pysrc.html#CoordUtil.raToHa">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="haToRa"></a><span class="summary-sig-name">haToRa</span>(<span class="summary-sig-arg">ha</span>,
        <span class="summary-sig-arg">lst</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="chimera.util.coord-pysrc.html#CoordUtil.haToRa">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="chimera.util.coord.CoordUtil-class.html#coordRotate" class="summary-sig-name">coordRotate</a>(<span class="summary-sig-arg">x</span>,
        <span class="summary-sig-arg">y</span>,
        <span class="summary-sig-arg">z</span>)</span><br />
      Used to convert between equatorial and horizon coordinates.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="chimera.util.coord-pysrc.html#CoordUtil.coordRotate">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
</table>
<!-- ==================== CLASS VARIABLES ==================== -->
<a name="section-ClassVariables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Class Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-ClassVariables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="chimera.util.coord.CoordUtil-class.html#COORD_RE" class="summary-name">COORD_RE</a> = <code title="re.compile('((?P&lt;dd&gt;(?P&lt;sign&gt;[+-]?)[\s]*\d+)[dh]?[\s:]*)?((?P&lt;mm&gt;\d+)[\
m]?[\s:]*)?((?P&lt;ss&gt;\d+)(?P&lt;msec&gt;\.\d*)?([\ss]*))?')">re.compile('((?P&lt;dd&gt;(?P&lt;sign&gt;[+-]?)[\s]*\d+)[dh]?[\<code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="_arcsec2deg"></a><span class="summary-name">_arcsec2deg</span> = <code title="1.0/ 3600">1.0/ 3600</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="_min2deg"></a><span class="summary-name">_min2deg</span> = <code title="1.0/ 60">1.0/ 60</code>
    </td>
  </tr>
</table>
<!-- ==================== PROPERTIES ==================== -->
<a name="section-Properties"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Properties</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Properties"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__class__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Method Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-MethodDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="d2dms"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">d2dms</span>(<span class="sig-arg">d</span>,
        <span class="sig-arg">sec_prec</span>=<span class="sig-default">None</span>)</span>
    <br /><em class="fname">Static Method</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="chimera.util.coord-pysrc.html#CoordUtil.d2dms">source&nbsp;code</a></span>&nbsp;
    </td>
  </table>
  
  <pre class="literalblock">

This function returns a tuple which can be used to reconstruct
the decimal value of Coord as follow:

 d = sign * (dd + mm/60.0 + ss/3600.0)

sec_prec parameters defines how much decimal places we want on
seconds values. strfcoord uses this to round values when using
specific %.xf values.

</pre>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="strfcoord"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">strfcoord</span>(<span class="sig-arg">c</span>,
        <span class="sig-arg">format</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">signed</span>=<span class="sig-default">True</span>)</span>
    <br /><em class="fname">Static Method</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="chimera.util.coord-pysrc.html#CoordUtil.strfcoord">source&nbsp;code</a></span>&nbsp;
    </td>
  </table>
  
  <p>strfcoord acts like sprintf family, allowing arbitrary coordinate 
  conversion to str following the given template format.</p>
  <p>String template follow standard python % mapping. The available 
  components are:</p>
  <p>d[d]: decimal degrees m[m]: minutes s[s]: seconds (can be float) s[h]:
  hours</p>
  <p>if signed was True, decimal degrees will always begins with a sign (+ 
  or -) and hours values will have a negative sign if needed. Note that</p>
  <p>Examples:</p>
  'normal' dms string: format='%(d)02d:%(m)02d:%(s)06.3f' 'normal' hms 
  string: format='%(h)02d:%(m)02d:%(s)06.3f'
  <dl class="fields">
  </dl>
<div class="fields">      <strong>Notes:</strong>
      <ul class="nomargin-top">
        <li>
        You don't need to add + to your format strings, sign will be 
        added as specified above.
        </li>
        <li>
        To avoid truncation errors with miliseconds numbers, always use 
        %f to represent seconds of arc, This example show what can happen 
        if you don't do that:
<pre class="py-doctest">
<span class="py-prompt">&gt;&gt;&gt; </span>c = Coord.fromDMS(<span class="py-string">'+13 23 46'</span>)
<span class="py-prompt">&gt;&gt;&gt; </span>c
<span class="py-output">&lt;Coord object +13:23:46.000 (DMS) at 0x83a3ae&gt;</span>
<span class="py-output"></span><span class="py-prompt">&gt;&gt;&gt; </span><span class="py-keyword">print</span> c
<span class="py-output">+13:23:46.000</span>
<span class="py-output"></span><span class="py-prompt">&gt;&gt;&gt; </span>c.strfcoord(<span class="py-string">'%(d)02d %(m)02d %(s)02d'</span>)
<span class="py-output">'+13 23 45'</span>
<span class="py-output"></span><span class="py-prompt">&gt;&gt;&gt; </span>c.DMS
<span class="py-output">(1, 13, 23, 45.999999999999091)</span>
<span class="py-output"></span><span class="py-prompt">&gt;&gt;&gt; </span><span class="py-comment"># the last line show what happened:</span>
<span class="py-prompt">&gt;&gt;&gt; </span><span class="py-comment">#  %d just truncate while %f rounds the seconds to get the 'right' number</span></pre>
        </li>
      </ul>
</div></td></tr></table>
</div>
<a name="coordRotate"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">coordRotate</span>(<span class="sig-arg">x</span>,
        <span class="sig-arg">y</span>,
        <span class="sig-arg">z</span>)</span>
    <br /><em class="fname">Static Method</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="chimera.util.coord-pysrc.html#CoordUtil.coordRotate">source&nbsp;code</a></span>&nbsp;
    </td>
  </table>
  
  <pre class="literalblock">
Used to convert between equatorial and horizon coordinates.

[ x, y, and z are angles in radians -&gt;
    return (xt, yt) where
    xt=arcsin(sin(x)*sin(y)+cos(x)*cos(y)*cos(z)) and
    yt=arccos((sin(x)-sin(y)*sin(xt))/(cos(y)*cos(xt))) ]

</pre>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== CLASS VARIABLE DETAILS ==================== -->
<a name="section-ClassVariableDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Class Variable Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-ClassVariableDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="COORD_RE"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">COORD_RE</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
re.compile('((?P&lt;dd&gt;(?P&lt;sign&gt;[+-]?)[\s]*\d+)[dh]?[\s:]*)?((?P&lt;mm&gt;\d+)[<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
m]?[\s:]*)?((?P&lt;ss&gt;\d+)(?P&lt;msec&gt;\.\d*)?([\ss]*))?')
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="chimera-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://chimera.ufsc.br/">Chimera - Observatoty Automation System</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    <a href="epydoc-log.html">Generated by Epydoc
    3.0beta1 on Sat Feb  7 18:36:54 2009</a>
    </td>
    <td align="right" class="footer">
      <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie()
  // -->
</script>
  
</body>
</html>
